.PHONY:
all:tcpserver tcpclient

tcpserver : main.cc
	g++  $^ -o $@ -std=c++11 -lpthread
tcpclient : tcpclient.cc
	g++  $^ -o $@ -std=c++11 -lpthread

test : servertest.cc
	g++  $^ -o $@ -std=c++11 -lpthread
	
.PHONY:
clean:
	rm -rf tcpserver tcpclient

